<template>
		<uni-data-picker   popup-title="请选择所在地区" :localdata="location" @change="change"  style="height: 100px;"  >
			<view class="filter" >
				<text>分类标题</text>
					<view  class="selected">
						<text class="iconfont icon-shaixuan uni-global-pointer" ></text>
					</view>
			</view>
		</uni-data-picker>
</template>

<script>
	export default {
		props:{
			value:{
				type:Number,
				default:null
			},
			location: {
				type:Array,
				default:[]
			}
			
		},
		name:"filter-th",
		data() {
			return {
			};
		},
		methods:{
			onclick(){
				
			},
			change(val){
				console.log(val)
			}
		}
	}
</script>

<style lang="scss" scoped >
	.filter{
		display: flex;
		justify-content: center;
		align-items: center;
		gap:5px;
		.iconfont{
			font-size:18px;
		}
	}
</style>